ContextCapture User Guide

Level of Detail Structure

No matter the output format, the structure of the output database is the same. The nodes of the quadtree will be named with a "key" text string indicating their level and their position in the tree in a very concise way.

For example, for a quadtree, at each level,

  • 0 means the south-west child quadrant,
  • 1 the south-east child quadrant,
  • 2 the north-west child quadrant and
  • 3 the north-east child quadrant.

For octrees and adaptive trees, there can be up to 8 children for each node of the level-of-detail tree.

A directory level is added every three levels of the LOD tree to limit the number of files in a same directory.

Hence, the names of the output files will be as follows ( .ext denotes the format-specific extension):

root.ext

Data/0.ext

Data/1.ext

Data/2.ext

Data/3.ext

Data/00.ext

Data/01.ext

...

Data/000.ext

...

Data/000/0000.ext

Data/000/0001.ext

Data/000/0002.ext

Data/000/0003.ext

...

Data/333/3333.ext

...

An example for a node at level 11 of the quadtree: Data/012/321/220/01232122023.ext

For some formats, the nodes having a same parent node are stored in a single file. For example, Data/10t3.ext contains the four children of node 1.

For some formats (for example, 3MX), the root node is saved in the Data subdirectory and the output directory contains a format-specific scene file containing relevant metadata (e.g., SRS) and a reference to the root node.

Warning: ExportUniqueMesh does not produce all nodes of the level-of-detail tree: it omits to save the empty nodes, if these nodes have an empty subtree.